//#define __DEBUG__
// by Xeno
#define THIS_FILE "fn_getallalive.sqf"
#include "x_setup.sqf"

private "_ret";
_ret = [];
{if (alive _x) then {_ret set [count _ret, _x]}} forEach (units _this);
_ret